package com.tianma.celue.service.impl;

import com.tianma.celue.service.IPayService;
import com.tianma.celue.type.PayType;
import org.springframework.stereotype.Service;

/**
 * @author lgc
 * @createDate 2020/6/29 - 11:25
 */
@Service
public class WeChatPayServiceImpl implements IPayService {
    @Override
    public PayType getPayType() {
        return PayType.WECHAT;
    }

    @Override
    public String pay(Double money) {
        return "用微信支付了"+money;
    }
}
